#include <iostream>
using namespace std;

void print_line() {
    cout << "first line" << '\n';
    cout << "second line"<< '\n';
}

void print_same_line() {
    cout <<"first line"<< endl;
    cout <<"second line"<< endl;
}

void print_third_line(){
    cout<<"first line\n";
    cout<<"second line \n";
}
int main(){
    print_line();
    print_same_line();
    print_third_line();
    return 0;

}